Documentation ¶
Index ¶
- Constants
- func Cptr2Bytes(ptr unsafe.Pointer, l int64) []byte
- func NameToInt(name string) uint32
- type Header
- type ShellMemory
- func (me *ShellMemory) GetShellMemorySize() int64
- func (me *ShellMemory) OpenShellMemory(bCreate bool) bool
- func (me *ShellMemory) ToBytes() []byte
- func (me *ShellMemory) ToBytesPro(offset, l int64) []byte
- func (me *ShellMemory) ToString() string
- func (me *ShellMemory) WriteByte(data []byte, offset int64) int64
- func (me *ShellMemory) WriteString(str string, offset int64)
Constants ¶
View Source
const ( IPC_CREATE = 00001000 IPC_EXCL = 00002000 IPC_NOWAIT = 00004000 IPC_DIPC = 00010000 IPC_OWN = 00020000 IPC_PRIVATE = 0 IPC_RMID = 0 IPC_SET = 1 IPC_STAT = 2 IPC_INFO = 3 IPC_OLD = 0 IPC_64 = 0x0100 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ShellMemory ¶
type ShellMemory struct {
// contains filtered or unexported fields
}
func NewShellMemory ¶
func NewShellMemory(name string, size int64) *ShellMemory
func (*ShellMemory) GetShellMemorySize ¶
func (me *ShellMemory) GetShellMemorySize() int64
func (*ShellMemory) OpenShellMemory ¶
func (me *ShellMemory) OpenShellMemory(bCreate bool) bool
func (*ShellMemory) ToBytes ¶
func (me *ShellMemory) ToBytes() []byte
func (*ShellMemory) ToBytesPro ¶
func (me *ShellMemory) ToBytesPro(offset, l int64) []byte
func (*ShellMemory) ToString ¶
func (me *ShellMemory) ToString() string
func (*ShellMemory) WriteString ¶
func (me *ShellMemory) WriteString(str string, offset int64)
Click to show internal directories.
Click to hide internal directories.