Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add method BlobStream.seek #131

Closed
asfernandes opened this issue Dec 15, 2022 · 0 comments
Closed

Add method BlobStream.seek #131

asfernandes opened this issue Dec 15, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request fixed

Comments

@asfernandes
Copy link
Owner

export const enum BlobSeekWhence {
	START = 0,
	CURRENT = 1,
	END = 2
}

/** BlobStream class. */
export abstract class BlobStream {
	/** Seeks into the blob stream and return the new position. */
	abstract seek(offset: number, whence?: BlobSeekWhence): Promise<number>;
}
@asfernandes asfernandes self-assigned this Dec 15, 2022
@asfernandes asfernandes added the enhancement New feature or request label Dec 15, 2022
asfernandes added a commit that referenced this issue Dec 15, 2022
- #130 - Add options to Attachment.createBlob for stream blob creation.
- #131 - Add method BlobStream.seek.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fixed
Projects
None yet
Development

No branches or pull requests

1 participant