test
Version:
sha256:48017c9
imports homestar:host/helpers
helpers interface
time:record {
seconds: u64
milliseconds: u32
nanoseconds: u32
}get-current-time() → time
num-keys:record {
name: string
val: option<u32>
}add-one(a:s32) → s32
append-string(a:string) → string
join-strings(a:string, b:string) → string
host-fmt-current-time() → string
transpose(matrix:list<list<u16>>) → list<list<u16>>
blur(data:list<u8>, sigma:f32) → list<u8>
blur-base64(data:string, sigma:f32) → list<u8>
crop(data:list<u8>, x:u32, y:u32, target-width:u32, target-height:u32) → list<u8>
crop-base64(data:string, x:u32, y:u32, target-width:u32, target-height:u32) → list<u8>
grayscale(data:list<u8>) → list<u8>
grayscale-base64(data:string) → list<u8>
rotate90(data:list<u8>) → list<u8>
rotate90-base64(data:string) → list<u8>
hash(data:string) → list<u8>
pop(a:list<s32>) → option<s32>
binary-search(slice:list<s32>, x:s32) → result<s32, _>
num-to-kv(num:result<u32, string>) → num-keys