createBinarySource — @gj-kit/expo-media
A public function from @gj-kit/expo-media/testing. The signature below is taken directly from the 0.6.1 release declaration.
Verified import example
Section titled “Verified import example”import { createBinarySource } from '@gj-kit/expo-media/testing';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * `Uint8Array` → `NamedBinarySource`(§3.3). * * 웹 업로드 경로(`createBinaryUploads`·`uploadDropped`)를 **DOM `Blob` 없이** 태우는 수단이다. * `BinarySource`가 `{size, type?, arrayBuffer()}` 구조 최소 타입인 이유가 바로 이것이며 * (§3.3 주석), 이 함수가 그 설계 의도를 실제로 발화시킨다. */declare function createBinarySource(bytes: Uint8Array, input: { readonly name: string; readonly type?: string | undefined;}): NamedBinarySource;This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.
Release context
Section titled “Release context”- Package:
@gj-kit/expo-media - Version:
0.6.1 - Public entry:
./testing - Source: GitHub