Chunk

public class Chunk

A GridFS Byte Chunk that’s part of a file

  • id

    The ID of this chunk

    Declaration

    Swift

    public let id: ObjectId
  • The ID of the file that this chunk is a part of

    Declaration

    Swift

    public let filesID: ObjectId
  • n

    Which chunk this is

    Declaration

    Swift

    public let n: Int32
  • The data for our chunk

    Declaration

    Swift

    public let data: Bytes