Versions in this module Expand all Collapse all v0 v0.0.2 Jan 25, 2023 Changes in this version + const ACCESS_SYSTEM_SECURITY + const AES128CCM + const AES128GCM + const ATTRIBUTE_SECUIRTY_INFORMATION + const Anonymous + const BACKUP_SECUIRTY_INFORMATION + const DACL_SECUIRTY_INFORMATION + const DELETE + const Delegate + const Encrypted + const FILE_ADD_FILE + const FILE_ADD_SUBDIRECTORY + const FILE_APPEND_DATA + const FILE_ATTRIBUTE_ARCHIVE + const FILE_ATTRIBUTE_COMPRESSED + const FILE_ATTRIBUTE_DIRECTORY + const FILE_ATTRIBUTE_ENCRYPTED + const FILE_ATTRIBUTE_HIDDEN + const FILE_ATTRIBUTE_INTEGRITY_STREAM + const FILE_ATTRIBUTE_NORMAL + const FILE_ATTRIBUTE_NOT_CONTENT_INDEXED + const FILE_ATTRIBUTE_NO_SCRUB_DATA + const FILE_ATTRIBUTE_OFFLINE + const FILE_ATTRIBUTE_READONLY + const FILE_ATTRIBUTE_REPARSE_POINT + const FILE_ATTRIBUTE_SPARSE_FILE + const FILE_ATTRIBUTE_SYSTEM + const FILE_ATTRIBUTE_TEMPORARY + const FILE_COMPLETE_IF_OPLOCKED + const FILE_CREATE + const FILE_DELETE_CHILD + const FILE_DELETE_ON_CLOSE + const FILE_DIRECTORY_FILE + const FILE_DISALLOW_EXCLUSIVE + const FILE_EXECUTE + const FILE_LIST_DIRECTORY + const FILE_NON_DIRECTORY_FILE + const FILE_NO_COMPRESSION + const FILE_NO_EA_KNOWLEDGE + const FILE_NO_INTERMEDIATE_BUFFERING + const FILE_OPEN + const FILE_OPEN_BY_FILE_ID + const FILE_OPEN_FOR_BACKUP_INTENT + const FILE_OPEN_FOR_FREE_SPACE_QUERY + const FILE_OPEN_IF + const FILE_OPEN_NO_RECALL + const FILE_OPEN_REMOTE_INSTANCE + const FILE_OPEN_REPARSE_POINT + const FILE_OPEN_REQUIRING_OPLOCK + const FILE_OVERWRITE + const FILE_OVERWRITE_IF + const FILE_RANDOM_ACCESS + const FILE_READ_ATTRIBUTES + const FILE_READ_DATA + const FILE_READ_EA + const FILE_RESERVE_OPFILTER + const FILE_SEQUENTIAL_ONLY + const FILE_SHARE_DELETE + const FILE_SHARE_READ + const FILE_SHARE_WRITE + const FILE_SUPERSEDE + const FILE_SYNCHRONOUS_IO_ALERT + const FILE_SYNCHRONOUS_IO_NONALERT + const FILE_TRAVERSE + const FILE_WRITE_ATTRIBUTES + const FILE_WRITE_DATA + const FILE_WRITE_EA + const FILE_WRITE_THROUGH + const FSCTL_DFS_GET_REFERRALS + const FSCTL_DFS_GET_REFERRALS_EX + const FSCTL_FILE_LEVEL_TRIM + const FSCTL_GET_REPARSE_POINT + const FSCTL_LMR_REQUEST_RESILIENCY + const FSCTL_PIPE_PEEK + const FSCTL_PIPE_TRANSCEIVE + const FSCTL_PIPE_WAIT + const FSCTL_QUERY_NETWORK_INTERFACE_INFO + const FSCTL_SET_REPARSE_POINT + const FSCTL_SRV_COPYCHUNK + const FSCTL_SRV_COPYCHUNK_WRITE + const FSCTL_SRV_ENUMERATE_SNAPSHOTS + const FSCTL_SRV_READ_HASH + const FSCTL_SRV_REQUEST_RESUME_KEY + const FSCTL_VALIDATE_NEGOTIATE_INFO + const FildIdGlobalTxDirectoryInformation + const FileAccessInformation + const FileAlignmentInformation + const FileAllInformation + const FileAllocationInformation + const FileAlternateNameInformation + const FileAttributeTagInformation + const FileBasicInformation + const FileBothDirectoryInformation + const FileCompressionInformation + const FileDirectoryInformation + const FileDispositionInformation + const FileEaInformation + const FileEndOfFileInformation + const FileFsAttributeInformation + const FileFsControlInformation + const FileFsDeviceInformation + const FileFsDriverPathInformation + const FileFsFullSizeInformation + const FileFsLabelInformation + const FileFsObjectIdInformation + const FileFsSectorSizeInformation + const FileFsSizeInformation + const FileFsVolumeFlagsInformation + const FileFsVolumeInformation + const FileFullDirectoryInformation + const FileFullEaInformation + const FileHardLinkInformation + const FileIdBothDirectoryInformation + const FileIdFullDirectoryInformation + const FileInternalInformation + const FileLinkInformation + const FileMailslotQueryInformation + const FileMailslotSetInformation + const FileModeInformation + const FileMoveClusterInformation + const FileNameInformation + const FileNamesInformation + const FileNetworkOpenInformation + const FileNormalizedNameInformation + const FileObjectIdInformation + const FilePipeInformation + const FilePipeLocalInformation + const FilePipeRemoteInformation + const FilePositionInformation + const FileQuotaInformation + const FileRenameInformation + const FileReparsePointInformation + const FileSfioReserveInformation + const FileSfioVolumeInformation + const FileShortNameInformation + const FileStandardInformation + const FileStardardLinkInformation + const FileStreamInformation + const FileTrackingInformation + const FileValidDataLengthInformation + const GENERIC_ALL + const GENERIC_EXECUTE + const GENERIC_READ + const GENERIC_WRITE + const GROUP_SECUIRTY_INFORMATION + const INDEX_SPECIFIED + const INFO_FILE + const INFO_FILESYSTEM + const INFO_QUOTA + const INFO_SECURITY + const IO_REPARSE_TAG_DFS + const IO_REPARSE_TAG_DFSR + const IO_REPARSE_TAG_DRIVER_EXTENDER + const IO_REPARSE_TAG_FILTER_MANAGER + const IO_REPARSE_TAG_HSM + const IO_REPARSE_TAG_HSM2 + const IO_REPARSE_TAG_MOUNT_POINT + const IO_REPARSE_TAG_RESERVED_ONE + const IO_REPARSE_TAG_RESERVED_ZERO + const IO_REPARSE_TAG_SIS + const IO_REPARSE_TAG_SYMLINK + const Identification + const Impersonation + const LABEL_SECUIRTY_INFORMATION + const MAGIC + const MAGIC2 + const MAXIMUM_ALLOWED + const OWNER_SECURITY_INFORMATION + const READ_CONTROL + const REOPEN + const RESTART_SCANS + const RETURN_SINGLE_ENTRY + const SACL_SECUIRTY_INFORMATION + const SCOPE_SECUIRTY_INFORMATION + const SHA512 + const SL_INDEX_SPECIFIED + const SL_RESTART_SCAN + const SL_RETURN_SINGLE_ENTRY + const SMB2 + const SMB202 + const SMB210 + const SMB2_0_INFO_FILE + const SMB2_0_INFO_FILESYSTEM + const SMB2_0_INFO_QUOTA + const SMB2_0_INFO_SECURITY + const SMB2_0_IOCTL_IS_FSCTL + const SMB2_CANCEL + const SMB2_CHANGE_NOTIFY + const SMB2_CHANNEL_NONE + const SMB2_CHANNEL_RDMA_V1 + const SMB2_CHANNEL_RDMA_V1_INVALIDATE + const SMB2_CLOSE + const SMB2_CLOSE_FLAG_POSTQUERY_ATTRIB + const SMB2_CREATE + const SMB2_CREATE_FLAG_REPARSEPOINT + const SMB2_ECHO + const SMB2_ENCRYPTION_AES128_CCM + const SMB2_ENCRYPTION_CAPABILITIES + const SMB2_ERROR_ID_DEFAULT + const SMB2_FLAGS_ASYNC_COMMAND + const SMB2_FLAGS_DFS_OPERATIONS + const SMB2_FLAGS_PRIORITY_MASK + const SMB2_FLAGS_RELATED_OPERATIONS + const SMB2_FLAGS_REPLAY_OPERATIONS + const SMB2_FLAGS_SERVER_TO_REDIR + const SMB2_FLAGS_SIGNED + const SMB2_FLUSH + const SMB2_GLOBAL_CAP_DFS + const SMB2_GLOBAL_CAP_DIRECTORY_LEASING + const SMB2_GLOBAL_CAP_ENCRYPTION + const SMB2_GLOBAL_CAP_LARGE_MTU + const SMB2_GLOBAL_CAP_LEASING + const SMB2_GLOBAL_CAP_MULTI_CHANNEL + const SMB2_GLOBAL_CAP_PERSISTENT_HANDLES + const SMB2_IOCTL + const SMB2_LOCK + const SMB2_LOGOFF + const SMB2_NEGOTIATE + const SMB2_NEGOTIATE_SIGNING_ENABLED + const SMB2_NEGOTIATE_SIGNING_REQUIRED + const SMB2_OPLOCK_BREAK + const SMB2_OPLOCK_LEVEL_BATCH + const SMB2_OPLOCK_LEVEL_EXCLUSIVE + const SMB2_OPLOCK_LEVEL_II + const SMB2_OPLOCK_LEVEL_LEASE + const SMB2_OPLOCK_LEVEL_NONE + const SMB2_PREAUTH_INTEGRITY_CAPABILITIES + const SMB2_QUERY_DIRECTORY + const SMB2_QUERY_INFO + const SMB2_READ + const SMB2_READFLAG_READ_UNBUFFERED + const SMB2_SESSION_FLAG_BINDING + const SMB2_SESSION_FLAG_ENCRYPT_DATA + const SMB2_SESSION_FLAG_IS_GUEST + const SMB2_SESSION_FLAG_IS_NULL + const SMB2_SESSION_SETUP + const SMB2_SET_INFO + const SMB2_SHAREFLAG_ACCESS_BASED_DIRECTORY_ENUM + const SMB2_SHAREFLAG_ALLOW_NAMESPACE_CACHING + const SMB2_SHAREFLAG_AUTO_CACHING + const SMB2_SHAREFLAG_DFS + const SMB2_SHAREFLAG_DFS_ROOT + const SMB2_SHAREFLAG_ENABLE_HASH_V1 + const SMB2_SHAREFLAG_ENABLE_HASH_V2 + const SMB2_SHAREFLAG_ENCRYPT_DATA + const SMB2_SHAREFLAG_FORCE_LEVELII_OPLOCK + const SMB2_SHAREFLAG_FORCE_SHARED_DELETE + const SMB2_SHAREFLAG_MANUAL_CACHING + const SMB2_SHAREFLAG_NO_CACHING + const SMB2_SHAREFLAG_RESTRICT_EXCLUSIVE_OPENS + const SMB2_SHAREFLAG_VDO_CACHING + const SMB2_SHARE_CAP_ASYMMETRIC + const SMB2_SHARE_CAP_CLUSTER + const SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY + const SMB2_SHARE_CAP_DFS + const SMB2_SHARE_CAP_SCALEOUT + const SMB2_SHARE_TYPE_DISK + const SMB2_SHARE_TYPE_PIPE + const SMB2_SHARE_TYPE_PRINT + const SMB2_TREE_CONNECT + const SMB2_TREE_CONNECT_FLAG_CLUSTER_RECONNECT + const SMB2_TREE_DISCONNECT + const SMB2_WRITE + const SMB2_WRITEFLAG_WRITE_THROUGH + const SMB2_WRITEFLAG_WRITE_UNBUFFERED + const SMB300 + const SMB302 + const SMB311 + const SYMLINK_FLAG_RELATIVE + const SYNCHRONIZE + const UnknownSMB + const WRITE_DAC + const WRITE_OWNER + func Roundup(x, align int) int + func UTF16FromString(s string) []uint16 + func UTF16ToString(s []uint16) string + type CancelRequest struct + func (c *CancelRequest) Encode(pkt []byte) + func (c *CancelRequest) Header() *PacketHeader + func (c *CancelRequest) Size() int + type CancelRequestDecoder []byte + func (r CancelRequestDecoder) IsInvalid() bool + func (r CancelRequestDecoder) StructureSize() uint16 + type CipherContext struct + Ciphers []uint16 + func (c *CipherContext) Encode(p []byte) + func (c *CipherContext) Size() int + type CipherContextDataDecoder []byte + func (c CipherContextDataDecoder) CipherCount() uint16 + func (c CipherContextDataDecoder) Ciphers() []uint16 + func (c CipherContextDataDecoder) IsInvalid() bool + type CloseRequest struct + FileId *FileId + Flags uint16 + func (c *CloseRequest) Encode(pkt []byte) + func (c *CloseRequest) Header() *PacketHeader + func (c *CloseRequest) Size() int + type CloseRequestDecoder []byte + func (r CloseRequestDecoder) FileId() FileIdDecoder + func (r CloseRequestDecoder) Flags() uint16 + func (r CloseRequestDecoder) IsInvalid() bool + func (r CloseRequestDecoder) StructureSize() uint16 + type CloseResponse struct + AllocationSize int64 + ChangeTime *Filetime + CreationTime *Filetime + EndofFile int64 + FileAttributes uint32 + Flags uint16 + LastAccessTime *Filetime + LastWriteTime *Filetime + func (c *CloseResponse) Encode(pkt []byte) + func (c *CloseResponse) Header() *PacketHeader + func (c *CloseResponse) Size() int + type CloseResponseDecoder []byte + func (r CloseResponseDecoder) AllocationSize() int64 + func (r CloseResponseDecoder) ChangeTime() FiletimeDecoder + func (r CloseResponseDecoder) CreationTime() FiletimeDecoder + func (r CloseResponseDecoder) EndofFile() int64 + func (r CloseResponseDecoder) FileAttributes() uint32 + func (r CloseResponseDecoder) Flags() uint16 + func (r CloseResponseDecoder) IsInvalid() bool + func (r CloseResponseDecoder) LastAccessTime() FiletimeDecoder + func (r CloseResponseDecoder) LastWriteTime() FiletimeDecoder + func (r CloseResponseDecoder) StructureSize() uint16 + type CreateRequest struct + Contexts []Encoder + CreateDisposition uint32 + CreateOptions uint32 + DesiredAccess uint32 + FileAttributes uint32 + ImpersonationLevel uint32 + Name string + RequestedOplockLevel uint8 + SecurityFlags uint8 + ShareAccess uint32 + SmbCreateFlags uint64 + func (c *CreateRequest) Encode(pkt []byte) + func (c *CreateRequest) Header() *PacketHeader + func (c *CreateRequest) Size() int + type CreateRequestDecoder []byte + func (r CreateRequestDecoder) CreateContextsLength() uint32 + func (r CreateRequestDecoder) CreateContextsOffset() uint32 + func (r CreateRequestDecoder) CreateDisposition() uint32 + func (r CreateRequestDecoder) CreateOptions() uint32 + func (r CreateRequestDecoder) DesiredAccess() uint32 + func (r CreateRequestDecoder) FileAttributes() uint32 + func (r CreateRequestDecoder) ImpersonationLevel() uint32 + func (r CreateRequestDecoder) IsInvalid() bool + func (r CreateRequestDecoder) NameLength() uint16 + func (r CreateRequestDecoder) NameOffset() uint16 + func (r CreateRequestDecoder) RequestedOplockLevel() uint8 + func (r CreateRequestDecoder) SecurityFlags() uint8 + func (r CreateRequestDecoder) ShareAccess() uint32 + func (r CreateRequestDecoder) SmbCreateFlags() uint64 + func (r CreateRequestDecoder) StructureSize() uint16 + type CreateResponse struct + AllocationSize int64 + ChangeTime *Filetime + Contexts []Encoder + CreateAction uint32 + CreationTime *Filetime + EndofFile int64 + FileAttributes uint32 + FileId *FileId + Flags uint8 + LastAccessTime *Filetime + LastWriteTime *Filetime + OplockLevel uint8 + func (c *CreateResponse) Encode(pkt []byte) + func (c *CreateResponse) Header() *PacketHeader + func (c *CreateResponse) Size() int + type CreateResponseDecoder []byte + func (r CreateResponseDecoder) AllocationSize() int64 + func (r CreateResponseDecoder) ChangeTime() FiletimeDecoder + func (r CreateResponseDecoder) CreateAction() uint32 + func (r CreateResponseDecoder) CreateContexts() []byte + func (r CreateResponseDecoder) CreateContextsLength() uint32 + func (r CreateResponseDecoder) CreateContextsOffset() uint32 + func (r CreateResponseDecoder) CreationTime() FiletimeDecoder + func (r CreateResponseDecoder) EndofFile() int64 + func (r CreateResponseDecoder) FileAttributes() uint32 + func (r CreateResponseDecoder) FileId() FileIdDecoder + func (r CreateResponseDecoder) Flags() uint8 + func (r CreateResponseDecoder) IsInvalid() bool + func (r CreateResponseDecoder) LastAccessTime() FiletimeDecoder + func (r CreateResponseDecoder) LastWriteTime() FiletimeDecoder + func (r CreateResponseDecoder) OplockLevel() uint8 + func (r CreateResponseDecoder) StructureSize() uint16 + type Decoder interface + IsInvalid func() bool + type Encoder interface + Encode func(b []byte) + Size func() int + type ErrorContextListResponse []*ErrorContextResponse + func (c ErrorContextListResponse) Encode(p []byte) + func (c ErrorContextListResponse) Size() int + type ErrorContextResponse struct + ErrorData Encoder + ErrorId uint32 + func (c *ErrorContextResponse) Encode(p []byte) + func (c *ErrorContextResponse) Size() int + type ErrorContextResponseDecoder []byte + func (ctx ErrorContextResponseDecoder) ErrorContextData() []byte + func (ctx ErrorContextResponseDecoder) ErrorDataLength() uint32 + func (ctx ErrorContextResponseDecoder) ErrorId() uint32 + func (ctx ErrorContextResponseDecoder) IsInvalid() bool + func (ctx ErrorContextResponseDecoder) Next() int + type ErrorResponse struct + ErrorData Encoder + func (c *ErrorResponse) Encode(pkt []byte) + func (c *ErrorResponse) Header() *PacketHeader + func (c *ErrorResponse) Size() int + type ErrorResponseDecoder []byte + func (r ErrorResponseDecoder) ByteCount() uint32 + func (r ErrorResponseDecoder) ErrorContextCount() uint8 + func (r ErrorResponseDecoder) ErrorData() []byte + func (r ErrorResponseDecoder) IsInvalid() bool + func (r ErrorResponseDecoder) StructureSize() uint16 + type FileAccessInformationDecoder []byte + func (c FileAccessInformationDecoder) AccessFlags() uint32 + func (c FileAccessInformationDecoder) IsInvalid() bool + type FileAlignmentInformationDecoder []byte + func (c FileAlignmentInformationDecoder) AlignmentRequirement() uint32 + func (c FileAlignmentInformationDecoder) IsInvalid() bool + type FileAllInformationDecoder []byte + func (c FileAllInformationDecoder) AccessInformation() FileAccessInformationDecoder + func (c FileAllInformationDecoder) AlignmentInformation() FileAlignmentInformationDecoder + func (c FileAllInformationDecoder) BasicInformation() FileBasicInformationDecoder + func (c FileAllInformationDecoder) EaInformation() FileEaInformationDecoder + func (c FileAllInformationDecoder) InternalInformation() FileInternalInformationDecoder + func (c FileAllInformationDecoder) IsInvalid() bool + func (c FileAllInformationDecoder) ModeInformation() FileModeInformationDecoder + func (c FileAllInformationDecoder) NameInformation() FileNameInformationDecoder + func (c FileAllInformationDecoder) PositionInformation() FilePositionInformationDecoder + func (c FileAllInformationDecoder) StandardInformation() FileStandardInformationDecoder + type FileBasicInformationDecoder []byte + func (c FileBasicInformationDecoder) ChangeTime() FiletimeDecoder + func (c FileBasicInformationDecoder) CreationTime() FiletimeDecoder + func (c FileBasicInformationDecoder) FileAttributes() uint32 + func (c FileBasicInformationDecoder) IsInvalid() bool + func (c FileBasicInformationDecoder) LastAccessTime() FiletimeDecoder + func (c FileBasicInformationDecoder) LastWriteTime() FiletimeDecoder + type FileBasicInformationEncoder struct + ChangeTime *Filetime + CreationTime *Filetime + FileAttributes uint32 + LastAccessTime *Filetime + LastWriteTime *Filetime + func (c *FileBasicInformationEncoder) Encode(p []byte) + func (c *FileBasicInformationEncoder) Size() int + type FileDirectoryInformationDecoder []byte + func (c FileDirectoryInformationDecoder) AllocationSize() int64 + func (c FileDirectoryInformationDecoder) ChangeTime() FiletimeDecoder + func (c FileDirectoryInformationDecoder) CreationTime() FiletimeDecoder + func (c FileDirectoryInformationDecoder) EndOfFile() int64 + func (c FileDirectoryInformationDecoder) FileAttributes() uint32 + func (c FileDirectoryInformationDecoder) FileIndex() uint32 + func (c FileDirectoryInformationDecoder) FileName() string + func (c FileDirectoryInformationDecoder) FileNameLength() uint32 + func (c FileDirectoryInformationDecoder) IsInvalid() bool + func (c FileDirectoryInformationDecoder) LastAccessTime() FiletimeDecoder + func (c FileDirectoryInformationDecoder) LastWriteTime() FiletimeDecoder + func (c FileDirectoryInformationDecoder) NextEntryOffset() uint32 + type FileDispositionInformationEncoder struct + DeletePending uint8 + func (c *FileDispositionInformationEncoder) Encode(p []byte) + func (c *FileDispositionInformationEncoder) Size() int + type FileEaInformationDecoder []byte + func (c FileEaInformationDecoder) EaSize() uint32 + func (c FileEaInformationDecoder) IsInvalid() bool + type FileEndOfFileInformationDecoder []byte + func (c FileEndOfFileInformationDecoder) EndOfFile() int64 + func (c FileEndOfFileInformationDecoder) IsInvalid() bool + type FileEndOfFileInformationEncoder struct + EndOfFile int64 + func (c *FileEndOfFileInformationEncoder) Encode(p []byte) + func (c *FileEndOfFileInformationEncoder) Size() int + type FileFsFullSizeInformationDecoder []byte + func (c FileFsFullSizeInformationDecoder) ActualAvailableAllocationUnits() int64 + func (c FileFsFullSizeInformationDecoder) BytesPerSector() uint32 + func (c FileFsFullSizeInformationDecoder) CallerAvailableAllocationUnits() int64 + func (c FileFsFullSizeInformationDecoder) IsInvalid() bool + func (c FileFsFullSizeInformationDecoder) SectorsPerAllocationUnit() uint32 + func (c FileFsFullSizeInformationDecoder) TotalAllocationUnits() int64 + type FileId struct + Persistent [8]byte + Volatile [8]byte + func (fd *FileId) Encode(p []byte) + func (fd *FileId) IsZero() bool + func (fd *FileId) Size() int + type FileIdDecoder []byte + func (fd FileIdDecoder) Decode() *FileId + func (fd FileIdDecoder) Persistent() []byte + func (fd FileIdDecoder) Volatile() []byte + type FileInternalInformationDecoder []byte + func (c FileInternalInformationDecoder) IndexNumber() int64 + func (c FileInternalInformationDecoder) IsInvalid() bool + type FileLinkInformationType2Encoder struct + FileName string + ReplaceIfExists uint8 + RootDirectory uint64 + func (c *FileLinkInformationType2Encoder) Encode(p []byte) + func (c *FileLinkInformationType2Encoder) Size() int + type FileModeInformationDecoder []byte + func (c FileModeInformationDecoder) IsInvalid() bool + func (c FileModeInformationDecoder) Mode() uint32 + type FileNameInformationDecoder []byte + func (c FileNameInformationDecoder) FileName() string + func (c FileNameInformationDecoder) FileNameLength() uint32 + func (c FileNameInformationDecoder) IsInvalid() bool + type FilePositionInformationDecoder []byte + func (c FilePositionInformationDecoder) CurrentByteOffset() int64 + func (c FilePositionInformationDecoder) IsInvalid() bool + type FilePositionInformationEncoder struct + CurrentByteOffset int64 + func (c *FilePositionInformationEncoder) Encode(p []byte) + func (c *FilePositionInformationEncoder) Size() int + type FileQuotaInformationDecoder []byte + func (c FileQuotaInformationDecoder) ChangeTime() FiletimeDecoder + func (c FileQuotaInformationDecoder) IsInvalid() bool + func (c FileQuotaInformationDecoder) NextEntryOffset() uint32 + func (c FileQuotaInformationDecoder) QuotaLimit() int64 + func (c FileQuotaInformationDecoder) QuotaThreshold() int64 + func (c FileQuotaInformationDecoder) QuotaUsed() int64 + func (c FileQuotaInformationDecoder) Sid() SidDecoder + func (c FileQuotaInformationDecoder) SidLength() uint32 + type FileRenameInformationType2Encoder struct + FileName string + ReplaceIfExists uint8 + RootDirectory uint64 + func (c *FileRenameInformationType2Encoder) Encode(p []byte) + func (c *FileRenameInformationType2Encoder) Size() int + type FileStandardInformationDecoder []byte + func (c FileStandardInformationDecoder) AllocationSize() int64 + func (c FileStandardInformationDecoder) DeletePending() uint8 + func (c FileStandardInformationDecoder) Directory() uint8 + func (c FileStandardInformationDecoder) EndOfFile() int64 + func (c FileStandardInformationDecoder) IsInvalid() bool + func (c FileStandardInformationDecoder) NumberOfLinks() uint32 + type Filetime struct + HighDateTime uint32 + LowDateTime uint32 + func NsecToFiletime(nsec int64) (ft *Filetime) + func (ft *Filetime) Encode(p []byte) + func (ft *Filetime) Nanoseconds() int64 + func (ft *Filetime) Size() int + type FiletimeDecoder []byte + func (ft FiletimeDecoder) Decode() *Filetime + func (ft FiletimeDecoder) HighDateTime() uint32 + func (ft FiletimeDecoder) LowDateTime() uint32 + func (ft FiletimeDecoder) Nanoseconds() int64 + type FlushRequest struct + FileId *FileId + func (c *FlushRequest) Encode(pkt []byte) + func (c *FlushRequest) Header() *PacketHeader + func (c *FlushRequest) Size() int + type FlushRequestDecoder []byte + func (r FlushRequestDecoder) FileId() FileIdDecoder + func (r FlushRequestDecoder) IsInvalid() bool + func (r FlushRequestDecoder) StructureSize() uint16 + type FlushResponse struct + func (c *FlushResponse) Encode(pkt []byte) + func (c *FlushResponse) Header() *PacketHeader + func (c *FlushResponse) Size() int + type FlushResponseDecoder []byte + func (r FlushResponseDecoder) IsInvalid() bool + func (r FlushResponseDecoder) StructureSize() uint16 + type HashContext struct + HashAlgorithms []uint16 + HashSalt []byte + func (c *HashContext) Encode(p []byte) + func (c *HashContext) Size() int + type HashContextDataDecoder []byte + func (h HashContextDataDecoder) HashAlgorithmCount() uint16 + func (h HashContextDataDecoder) HashAlgorithms() []uint16 + func (h HashContextDataDecoder) IsInvalid() bool + func (h HashContextDataDecoder) Salt() []byte + func (h HashContextDataDecoder) SaltLength() uint16 + type IoctlRequest struct + CtlCode uint32 + FileId *FileId + Flags uint32 + Input Encoder + MaxInputResponse uint32 + MaxOutputResponse uint32 + OutputCount uint32 + OutputOffset uint32 + func (c *IoctlRequest) Encode(pkt []byte) + func (c *IoctlRequest) Header() *PacketHeader + func (c *IoctlRequest) Size() int + type IoctlRequestDecoder []byte + func (r IoctlRequestDecoder) CtlCode() uint32 + func (r IoctlRequestDecoder) FileId() FileIdDecoder + func (r IoctlRequestDecoder) Flags() uint32 + func (r IoctlRequestDecoder) InputCount() uint32 + func (r IoctlRequestDecoder) InputOffset() uint32 + func (r IoctlRequestDecoder) IsInvalid() bool + func (r IoctlRequestDecoder) MaxInputResponse() uint32 + func (r IoctlRequestDecoder) MaxOutputResponse() uint32 + func (r IoctlRequestDecoder) OutputCount() uint32 + func (r IoctlRequestDecoder) OutputOffset() uint32 + func (r IoctlRequestDecoder) StructureSize() uint16 + type IoctlResponse struct + CtlCode uint32 + FileId *FileId + Flags uint32 + Input Encoder + Output Encoder + func (c *IoctlResponse) Encode(pkt []byte) + func (c *IoctlResponse) Header() *PacketHeader + func (c *IoctlResponse) Size() int + type IoctlResponseDecoder []byte + func (r IoctlResponseDecoder) CtlCode() uint32 + func (r IoctlResponseDecoder) FileId() FileIdDecoder + func (r IoctlResponseDecoder) Flags() uint32 + func (r IoctlResponseDecoder) Input() []byte + func (r IoctlResponseDecoder) InputCount() uint32 + func (r IoctlResponseDecoder) InputOffset() uint32 + func (r IoctlResponseDecoder) IsInvalid() bool + func (r IoctlResponseDecoder) Output() []byte + func (r IoctlResponseDecoder) OutputCount() uint32 + func (r IoctlResponseDecoder) OutputOffset() uint32 + func (r IoctlResponseDecoder) StructureSize() uint16 + type LogoffRequest struct + func (c *LogoffRequest) Encode(pkt []byte) + func (c *LogoffRequest) Header() *PacketHeader + func (c *LogoffRequest) Size() int + type LogoffRequestDecoder []byte + func (r LogoffRequestDecoder) IsInvalid() bool + func (r LogoffRequestDecoder) StructureSize() uint16 + type LogoffResponse struct + func (c *LogoffResponse) Encode(pkt []byte) + func (c *LogoffResponse) Header() *PacketHeader + func (c *LogoffResponse) Size() int + type LogoffResponseDecoder []byte + func (r LogoffResponseDecoder) IsInvalid() bool + func (r LogoffResponseDecoder) StructureSize() uint16 + type NegotiateContextDecoder []byte + func (ctx NegotiateContextDecoder) ContextType() uint16 + func (ctx NegotiateContextDecoder) Data() []byte + func (ctx NegotiateContextDecoder) DataLength() uint16 + func (ctx NegotiateContextDecoder) IsInvalid() bool + func (ctx NegotiateContextDecoder) Next() int + type NegotiateRequest struct + Capabilities uint32 + ClientGuid [16]byte + Contexts []Encoder + Dialects []uint16 + SecurityMode uint16 + func (c *NegotiateRequest) Encode(pkt []byte) + func (c *NegotiateRequest) Header() *PacketHeader + func (c *NegotiateRequest) Size() int + type NegotiateRequestDecoder []byte + func (r NegotiateRequestDecoder) Capabilities() uint32 + func (r NegotiateRequestDecoder) ClientGuid() []byte + func (r NegotiateRequestDecoder) ClientStartTime() []byte + func (r NegotiateRequestDecoder) DialectCount() uint16 + func (r NegotiateRequestDecoder) Dialects() []uint16 + func (r NegotiateRequestDecoder) IsInvalid() bool + func (r NegotiateRequestDecoder) NegotiateContextCount() uint16 + func (r NegotiateRequestDecoder) NegotiateContextList() []byte + func (r NegotiateRequestDecoder) NegotiateContextOffset() uint32 + func (r NegotiateRequestDecoder) SecurityMode() uint16 + func (r NegotiateRequestDecoder) StructureSize() uint16 + type NegotiateResponse struct + Capabilities uint32 + Contexts []Encoder + DialectRevision uint16 + MaxReadSize uint32 + MaxTransactSize uint32 + MaxWriteSize uint32 + SecurityBuffer []byte + SecurityMode uint16 + ServerGuid [16]byte + ServerStartTime *Filetime + SystemTime *Filetime + func (c *NegotiateResponse) Encode(pkt []byte) + func (c *NegotiateResponse) Header() *PacketHeader + func (c *NegotiateResponse) Size() int + type NegotiateResponseDecoder []byte + func (r NegotiateResponseDecoder) Capabilities() uint32 + func (r NegotiateResponseDecoder) DialectRevision() uint16 + func (r NegotiateResponseDecoder) IsInvalid() bool + func (r NegotiateResponseDecoder) MaxReadSize() uint32 + func (r NegotiateResponseDecoder) MaxTransactSize() uint32 + func (r NegotiateResponseDecoder) MaxWriteSize() uint32 + func (r NegotiateResponseDecoder) NegotiateContextCount() uint16 + func (r NegotiateResponseDecoder) NegotiateContextList() []byte + func (r NegotiateResponseDecoder) NegotiateContextOffset() uint32 + func (r NegotiateResponseDecoder) SecurityBuffer() []byte + func (r NegotiateResponseDecoder) SecurityBufferLength() uint16 + func (r NegotiateResponseDecoder) SecurityBufferOffset() uint16 + func (r NegotiateResponseDecoder) SecurityMode() uint16 + func (r NegotiateResponseDecoder) ServerGuid() []byte + func (r NegotiateResponseDecoder) ServerStartTime() FiletimeDecoder + func (r NegotiateResponseDecoder) StructureSize() uint16 + func (r NegotiateResponseDecoder) SystemTime() FiletimeDecoder + type Packet interface + Header func() *PacketHeader + type PacketCodec []byte + func (p PacketCodec) AsyncId() uint64 + func (p PacketCodec) ChannelSequence() uint16 + func (p PacketCodec) Command() uint16 + func (p PacketCodec) CreditCharge() uint16 + func (p PacketCodec) CreditRequest() uint16 + func (p PacketCodec) CreditResponse() uint16 + func (p PacketCodec) Data() []byte + func (p PacketCodec) Flags() uint32 + func (p PacketCodec) IsInvalid() bool + func (p PacketCodec) MessageId() uint64 + func (p PacketCodec) NextCommand() uint32 + func (p PacketCodec) ProtocolId() []byte + func (p PacketCodec) SessionId() uint64 + func (p PacketCodec) SetAsyncId(u uint64) + func (p PacketCodec) SetChannelSequence(u uint16) + func (p PacketCodec) SetCommand(u uint16) + func (p PacketCodec) SetCreditCharge(u uint16) + func (p PacketCodec) SetCreditRequest(u uint16) + func (p PacketCodec) SetCreditResponse(u uint16) + func (p PacketCodec) SetFlags(u uint32) + func (p PacketCodec) SetMessageId(u uint64) + func (p PacketCodec) SetNextCommand(u uint32) + func (p PacketCodec) SetProtocolId() + func (p PacketCodec) SetSessionId(u uint64) + func (p PacketCodec) SetSignature(bs []byte) + func (p PacketCodec) SetStatus(u uint32) + func (p PacketCodec) SetStructureSize() + func (p PacketCodec) SetTreeId(u uint32) + func (p PacketCodec) Signature() []byte + func (p PacketCodec) Status() uint32 + func (p PacketCodec) StructureSize() uint16 + func (p PacketCodec) TreeId() uint32 + type PacketHeader struct + AsyncId uint64 + ChannelSequence uint16 + Command uint16 + CreditCharge uint16 + CreditRequestResponse uint16 + Flags uint32 + MessageId uint64 + SessionId uint64 + Status uint32 + TreeId uint32 + type QueryDirectoryRequest struct + FileId *FileId + FileIndex uint32 + FileInfoClass uint8 + FileName string + Flags uint8 + OutputBufferLength uint32 + func (c *QueryDirectoryRequest) Encode(pkt []byte) + func (c *QueryDirectoryRequest) Header() *PacketHeader + func (c *QueryDirectoryRequest) Size() int + type QueryDirectoryRequestDecoder []byte + func (r QueryDirectoryRequestDecoder) FileId() FileIdDecoder + func (r QueryDirectoryRequestDecoder) FileIndex() uint32 + func (r QueryDirectoryRequestDecoder) FileInfoClass() uint8 + func (r QueryDirectoryRequestDecoder) FileNameLength() uint16 + func (r QueryDirectoryRequestDecoder) FileNameOffset() uint16 + func (r QueryDirectoryRequestDecoder) Flags() uint8 + func (r QueryDirectoryRequestDecoder) IsInvalid() bool + func (r QueryDirectoryRequestDecoder) OutputBufferLength() uint32 + func (r QueryDirectoryRequestDecoder) StructureSize() uint16 + type QueryDirectoryResponse struct + Output Encoder + func (c *QueryDirectoryResponse) Encode(pkt []byte) + func (c *QueryDirectoryResponse) Header() *PacketHeader + func (c *QueryDirectoryResponse) Size() int + type QueryDirectoryResponseDecoder []byte + func (r QueryDirectoryResponseDecoder) IsInvalid() bool + func (r QueryDirectoryResponseDecoder) OutputBuffer() []byte + func (r QueryDirectoryResponseDecoder) OutputBufferLength() uint32 + func (r QueryDirectoryResponseDecoder) OutputBufferOffset() uint16 + func (r QueryDirectoryResponseDecoder) StructureSize() uint16 + type QueryInfoRequest struct + AdditionalInformation uint32 + FileId *FileId + FileInfoClass uint8 + Flags uint32 + InfoType uint8 + Input Encoder + OutputBufferLength uint32 + func (c *QueryInfoRequest) Encode(pkt []byte) + func (c *QueryInfoRequest) Header() *PacketHeader + func (c *QueryInfoRequest) Size() int + type QueryInfoRequestDecoder []byte + func (r QueryInfoRequestDecoder) AdditionalInformation() uint32 + func (r QueryInfoRequestDecoder) FileId() FileIdDecoder + func (r QueryInfoRequestDecoder) FileInfoClass() uint8 + func (r QueryInfoRequestDecoder) Flags() uint32 + func (r QueryInfoRequestDecoder) InfoType() uint8 + func (r QueryInfoRequestDecoder) InputBufferLength() uint32 + func (r QueryInfoRequestDecoder) InputBufferOffset() uint16 + func (r QueryInfoRequestDecoder) IsInvalid() bool + func (r QueryInfoRequestDecoder) OutputBufferLength() uint32 + func (r QueryInfoRequestDecoder) StructureSize() uint16 + type QueryInfoResponse struct + Output Encoder + func (c *QueryInfoResponse) Encode(pkt []byte) + func (c *QueryInfoResponse) Header() *PacketHeader + func (c *QueryInfoResponse) Size() int + type QueryInfoResponseDecoder []byte + func (r QueryInfoResponseDecoder) IsInvalid() bool + func (r QueryInfoResponseDecoder) OutputBuffer() []byte + func (r QueryInfoResponseDecoder) OutputBufferLength() uint32 + func (r QueryInfoResponseDecoder) OutputBufferOffset() uint16 + func (r QueryInfoResponseDecoder) StructureSize() uint16 + type QueryQuotaInfo struct + RestartScan bool + ReturnSingle bool + Sids []Sid + func (q *QueryQuotaInfo) Encode(p []byte) + func (q *QueryQuotaInfo) Size() int + type ReadRequest struct + Channel uint32 + FileId *FileId + Flags uint8 + Length uint32 + MinimumCount uint32 + Offset uint64 + Padding uint8 + ReadChannelInfo []Encoder + RemainingBytes uint32 + func (c *ReadRequest) Encode(pkt []byte) + func (c *ReadRequest) Header() *PacketHeader + func (c *ReadRequest) Size() int + type ReadRequestDecoder []byte + func (r ReadRequestDecoder) Channel() uint32 + func (r ReadRequestDecoder) FileId() FileIdDecoder + func (r ReadRequestDecoder) Flags() uint8 + func (r ReadRequestDecoder) IsInvalid() bool + func (r ReadRequestDecoder) Length() uint32 + func (r ReadRequestDecoder) MinimumCount() uint32 + func (r ReadRequestDecoder) Offset() uint64 + func (r ReadRequestDecoder) Padding() uint8 + func (r ReadRequestDecoder) ReadChannelInfoLength() uint16 + func (r ReadRequestDecoder) ReadChannelInfoOffset() uint16 + func (r ReadRequestDecoder) RemainingBytes() uint32 + func (r ReadRequestDecoder) StructureSize() uint16 + type ReadResponse struct + Data []byte + DataRemaining uint32 + func (c *ReadResponse) Encode(pkt []byte) + func (c *ReadResponse) Header() *PacketHeader + func (c *ReadResponse) Size() int + type ReadResponseDecoder []byte + func (r ReadResponseDecoder) Data() []byte + func (r ReadResponseDecoder) DataLength() uint32 + func (r ReadResponseDecoder) DataOffset() uint8 + func (r ReadResponseDecoder) DataRemaining() uint32 + func (r ReadResponseDecoder) IsInvalid() bool + func (r ReadResponseDecoder) StructureSize() uint16 + type SessionSetupRequest struct + Capabilities uint32 + Channel uint32 + Flags uint8 + PreviousSessionId uint64 + SecurityBuffer []byte + SecurityMode uint8 + func (c *SessionSetupRequest) Encode(pkt []byte) + func (c *SessionSetupRequest) Header() *PacketHeader + func (c *SessionSetupRequest) Size() int + type SessionSetupRequestDecoder []byte + func (r SessionSetupRequestDecoder) Capabilities() uint32 + func (r SessionSetupRequestDecoder) Channel() uint32 + func (r SessionSetupRequestDecoder) Flags() uint8 + func (r SessionSetupRequestDecoder) IsInvalid() bool + func (r SessionSetupRequestDecoder) PreviousSessionId() uint64 + func (r SessionSetupRequestDecoder) SecurityBuffer() []byte + func (r SessionSetupRequestDecoder) SecurityBufferLength() uint16 + func (r SessionSetupRequestDecoder) SecurityBufferOffset() uint16 + func (r SessionSetupRequestDecoder) SecurityMode() uint8 + func (r SessionSetupRequestDecoder) StructureSize() uint16 + type SessionSetupResponse struct + SecurityBuffer []byte + SessionFlags uint16 + func (c *SessionSetupResponse) Encode(pkt []byte) + func (c *SessionSetupResponse) Header() *PacketHeader + func (c *SessionSetupResponse) Size() int + type SessionSetupResponseDecoder []byte + func (r SessionSetupResponseDecoder) IsInvalid() bool + func (r SessionSetupResponseDecoder) SecurityBuffer() []byte + func (r SessionSetupResponseDecoder) SecurityBufferLength() uint16 + func (r SessionSetupResponseDecoder) SecurityBufferOffset() uint16 + func (r SessionSetupResponseDecoder) SessionFlags() uint16 + func (r SessionSetupResponseDecoder) StructureSize() uint16 + type SetInfoRequest struct + AdditionalInformation uint32 + FileId *FileId + FileInfoClass uint8 + InfoType uint8 + Input Encoder + func (c *SetInfoRequest) Encode(pkt []byte) + func (c *SetInfoRequest) Header() *PacketHeader + func (c *SetInfoRequest) Size() int + type SetInfoRequestDecoder []byte + func (r SetInfoRequestDecoder) AdditionalInformation() uint32 + func (r SetInfoRequestDecoder) BufferLength() uint32 + func (r SetInfoRequestDecoder) BufferOffset() uint16 + func (r SetInfoRequestDecoder) FileId() FileIdDecoder + func (r SetInfoRequestDecoder) FileInfoClass() uint8 + func (r SetInfoRequestDecoder) InfoType() uint8 + func (r SetInfoRequestDecoder) IsInvalid() bool + func (r SetInfoRequestDecoder) StructureSize() uint16 + type SetInfoResponse struct + func (c *SetInfoResponse) Encode(pkt []byte) + func (c *SetInfoResponse) Header() *PacketHeader + func (c *SetInfoResponse) Size() int + type SetInfoResponseDecoder []byte + func (r SetInfoResponseDecoder) IsInvalid() bool + func (r SetInfoResponseDecoder) StructureSize() uint16 + type Sid struct + IdentifierAuthority uint64 + Revision uint8 + SubAuthority []uint32 + func (sid *Sid) Encode(p []byte) + func (sid *Sid) Size() int + func (sid *Sid) String() string + type SidDecoder []byte + func (c SidDecoder) Decode() *Sid + func (c SidDecoder) IdentifierAuthority() uint64 + func (c SidDecoder) IsInvalid() bool + func (c SidDecoder) Revision() uint8 + func (c SidDecoder) SubAuthority() []uint32 + func (c SidDecoder) SubAuthorityCount() uint8 + type SmallBufferErrorResponse struct + RequiredBufferLength uint32 + func (c *SmallBufferErrorResponse) Encode(p []byte) + func (c *SmallBufferErrorResponse) Size() int + type SmallBufferErrorResponseDecoder []byte + func (r SmallBufferErrorResponseDecoder) IsInvalid() bool + func (r SmallBufferErrorResponseDecoder) RequiredBufferLength() uint32 + type SrvCopychunk struct + Length uint32 + SourceOffset int64 + TargetOffset int64 + func (c *SrvCopychunk) Encode(p []byte) + func (c *SrvCopychunk) Size() int + type SrvCopychunkCopy struct + Chunks []*SrvCopychunk + SourceKey [24]byte + func (c *SrvCopychunkCopy) Encode(p []byte) + func (c *SrvCopychunkCopy) Size() int + type SrvCopychunkResponseDecoder []byte + func (c SrvCopychunkResponseDecoder) ChunksBytesWritten() uint32 + func (c SrvCopychunkResponseDecoder) ChunksWritten() uint32 + func (c SrvCopychunkResponseDecoder) IsInvalid() bool + func (c SrvCopychunkResponseDecoder) TotalBytesWritten() uint32 + type SrvRequestResumeKeyResponseDecoder []byte + func (c SrvRequestResumeKeyResponseDecoder) Context() []byte + func (c SrvRequestResumeKeyResponseDecoder) ContextLength() uint32 + func (c SrvRequestResumeKeyResponseDecoder) IsInvalid() bool + func (c SrvRequestResumeKeyResponseDecoder) ResumeKey() []byte + type SymbolicLinkErrorResponse struct + Flags uint32 + PrintName string + SubstituteName string + UnparsedPathLength uint16 + func (c *SymbolicLinkErrorResponse) Encode(p []byte) + func (c *SymbolicLinkErrorResponse) Size() int + type SymbolicLinkErrorResponseDecoder []byte + func (r SymbolicLinkErrorResponseDecoder) Flags() uint32 + func (r SymbolicLinkErrorResponseDecoder) IsInvalid() bool + func (r SymbolicLinkErrorResponseDecoder) PathBuffer() []byte + func (r SymbolicLinkErrorResponseDecoder) PrintName() string + func (r SymbolicLinkErrorResponseDecoder) PrintNameLength() uint16 + func (r SymbolicLinkErrorResponseDecoder) PrintNameOffset() uint16 + func (r SymbolicLinkErrorResponseDecoder) ReparseDataLength() uint16 + func (r SymbolicLinkErrorResponseDecoder) ReparseTag() uint32 + func (r SymbolicLinkErrorResponseDecoder) SplitUnparsedPath(name string) (string, string) + func (r SymbolicLinkErrorResponseDecoder) SubstituteName() string + func (r SymbolicLinkErrorResponseDecoder) SubstituteNameLength() uint16 + func (r SymbolicLinkErrorResponseDecoder) SubstituteNameOffset() uint16 + func (r SymbolicLinkErrorResponseDecoder) SymLinkErrorTag() uint32 + func (r SymbolicLinkErrorResponseDecoder) SymLinkLength() uint32 + func (r SymbolicLinkErrorResponseDecoder) UnparsedPathLength() uint16 + type SymbolicLinkReparseDataBuffer struct + Flags uint32 + PrintName string + SubstituteName string + func (c *SymbolicLinkReparseDataBuffer) Encode(p []byte) + func (c *SymbolicLinkReparseDataBuffer) Size() int + type SymbolicLinkReparseDataBufferDecoder []byte + func (c SymbolicLinkReparseDataBufferDecoder) Flags() uint32 + func (c SymbolicLinkReparseDataBufferDecoder) IsInvalid() bool + func (c SymbolicLinkReparseDataBufferDecoder) PathBuffer() []byte + func (c SymbolicLinkReparseDataBufferDecoder) PrintName() string + func (c SymbolicLinkReparseDataBufferDecoder) PrintNameLength() uint16 + func (c SymbolicLinkReparseDataBufferDecoder) PrintNameOffset() uint16 + func (c SymbolicLinkReparseDataBufferDecoder) ReparseDataLength() uint16 + func (c SymbolicLinkReparseDataBufferDecoder) ReparseTag() uint32 + func (c SymbolicLinkReparseDataBufferDecoder) SubstituteName() string + func (c SymbolicLinkReparseDataBufferDecoder) SubstituteNameLength() uint16 + func (c SymbolicLinkReparseDataBufferDecoder) SubstituteNameOffset() uint16 + type TransformCodec []byte + func (p TransformCodec) AssociatedData() []byte + func (p TransformCodec) EncryptedData() []byte + func (p TransformCodec) EncryptionAlgorithm() uint16 + func (p TransformCodec) IsInvalid() bool + func (p TransformCodec) Nonce() []byte + func (p TransformCodec) OriginalMessageSize() uint32 + func (p TransformCodec) ProtocolId() []byte + func (p TransformCodec) SessionId() uint64 + func (p TransformCodec) SetEncryptionAlgorithm(u uint16) + func (p TransformCodec) SetNonce(bs []byte) + func (p TransformCodec) SetOriginalMessageSize(u uint32) + func (p TransformCodec) SetProtocolId() + func (p TransformCodec) SetSessionId(u uint64) + func (p TransformCodec) SetSignature(bs []byte) + func (p TransformCodec) Signature() []byte + func (t TransformCodec) Flags() uint16 + func (t TransformCodec) SetFlags(u uint16) + type TreeConnectRequest struct + Flags uint16 + Path string + func (c *TreeConnectRequest) Encode(pkt []byte) + func (c *TreeConnectRequest) Header() *PacketHeader + func (c *TreeConnectRequest) Size() int + type TreeConnectRequestDecoder []byte + func (r TreeConnectRequestDecoder) Flags() uint16 + func (r TreeConnectRequestDecoder) IsInvalid() bool + func (r TreeConnectRequestDecoder) Path() string + func (r TreeConnectRequestDecoder) PathLength() uint16 + func (r TreeConnectRequestDecoder) PathOffset() uint16 + func (r TreeConnectRequestDecoder) StructureSize() uint16 + type TreeConnectResponse struct + Capabilities uint32 + MaximalAccess uint32 + ShareFlags uint32 + ShareType uint8 + func (c *TreeConnectResponse) Encode(pkt []byte) + func (c *TreeConnectResponse) Header() *PacketHeader + func (c *TreeConnectResponse) Size() int + type TreeConnectResponseDecoder []byte + func (r TreeConnectResponseDecoder) Capabilities() uint32 + func (r TreeConnectResponseDecoder) IsInvalid() bool + func (r TreeConnectResponseDecoder) MaximalAccess() uint32 + func (r TreeConnectResponseDecoder) ShareFlags() uint32 + func (r TreeConnectResponseDecoder) ShareType() uint8 + func (r TreeConnectResponseDecoder) StructureSize() uint16 + type TreeDisconnectRequest struct + func (c *TreeDisconnectRequest) Encode(pkt []byte) + func (c *TreeDisconnectRequest) Header() *PacketHeader + func (c *TreeDisconnectRequest) Size() int + type TreeDisconnectRequestDecoder []byte + func (r TreeDisconnectRequestDecoder) IsInvalid() bool + func (r TreeDisconnectRequestDecoder) StructureSize() uint16 + type TreeDisconnectResponse struct + func (c *TreeDisconnectResponse) Encode(pkt []byte) + func (c *TreeDisconnectResponse) Header() *PacketHeader + func (c *TreeDisconnectResponse) Size() int + type TreeDisconnectResponseDecoder []byte + func (r TreeDisconnectResponseDecoder) IsInvalid() bool + func (r TreeDisconnectResponseDecoder) StructureSize() uint16 + type WriteRequest struct + Channel uint32 + Data []byte + FileId *FileId + Flags uint32 + Offset uint64 + RemainingBytes uint32 + WriteChannelInfo []Encoder + func (c *WriteRequest) Encode(pkt []byte) + func (c *WriteRequest) Header() *PacketHeader + func (c *WriteRequest) Size() int + type WriteRequestDecoder []byte + func (r WriteRequestDecoder) Channel() uint32 + func (r WriteRequestDecoder) DataOffset() uint16 + func (r WriteRequestDecoder) FileId() FileIdDecoder + func (r WriteRequestDecoder) Flags() uint32 + func (r WriteRequestDecoder) IsInvalid() bool + func (r WriteRequestDecoder) Length() uint32 + func (r WriteRequestDecoder) Offset() uint64 + func (r WriteRequestDecoder) RemainingBytes() uint32 + func (r WriteRequestDecoder) StructureSize() uint16 + func (r WriteRequestDecoder) WriteChannelInfoLength() uint16 + func (r WriteRequestDecoder) WriteChannelInfoOffset() uint16 + type WriteResponse struct + Count uint32 + Remaining uint32 + func (c *WriteResponse) Encode(pkt []byte) + func (c *WriteResponse) Header() *PacketHeader + func (c *WriteResponse) Size() int + type WriteResponseDecoder []byte + func (r WriteResponseDecoder) Count() uint32 + func (r WriteResponseDecoder) IsInvalid() bool + func (r WriteResponseDecoder) Remaining() uint32 + func (r WriteResponseDecoder) StructureSize() uint16 + func (r WriteResponseDecoder) WriteChannelInfoLength() uint16 + func (r WriteResponseDecoder) WriteChannelInfoOffset() uint16