[roll] Roll fuchsia [storage] Add copy_from_buffer and helper APIs

Adds copy_from_buffer helper to Buffer, and implements std::io::Read
for PtrByteSlice.
Keeps old as_slice/as_mut_slice returning &[u8]/&mut [u8] for soft
transition compatibility.

Updates BlockDevice to perform copies when encountering foreign
buffers (allocated from a different BufferAllocator).

TAG=agy
CONV=8c74f469-8fb5-4972-a298-8f22a1e5e003

Test: storage-device-tests
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1705394
Original-Original-Revision: 15bbd1ff65b3e876e1cb71c2b7b3bba02ea5f42b
GitOrigin-RevId: 90de068342ce96ebcd7685d6a0adfe420f5c1d9d
Change-Id: Idbc7b8b983cdba4707163d211fd3c89d4b696851
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1717260
Cr-Commit-Position: refs/heads/main@{#197472}
1 file changed
tree: a3b2560c2e00a2b1422f98265980c87d2ca2d5e3
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.