[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

test[tinn8] 10 core

Arch

"Converting"
(Arch pointerToString: SysInfo getMemoryStatus) isNil ifrue: [
	self note: 'Error should not be nil'
].

(Arch fieldAddress: SysInfo getMemoryStatus fieldname: #MemoryLoad) isNil ifrue: [
	self note: 'Error Address should not be nil'
].

Base64

"encoding and decoding" | code string |
string := 'Mi mamá me mima'.
code := Base64 encode: string.
self note: 'Encoded=',code.
(Base64 decode: code) = string ifFalse: [
	self error: 'Invalid result after decoding'
].

BinaryStream

Collections

FileStream

MemoryStream

DeviceStream

Vector